package com.toe.commodity.webapi.mapper;

import com.toe.pojo.entity.commodity.CommodityGoodsSpecifications;
import com.toe.pojo.vo.commodity.CommodityGoodsSpecificationsVO;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

@Repository
public interface CommodityGoodsSpecificationsMapper {

    List<CommodityGoodsSpecificationsVO> getSpecificationsList(Long id);

    CommodityGoodsSpecificationsVO getSpecificationsById(Long id);

    List<CommodityGoodsSpecificationsVO> listSpecificationsByIds(List<Long> ids);

    void addNewSpecifications (CommodityGoodsSpecifications goodsSpecifications);

    BigDecimal getMinPrice(Long id);

}
